package com.peas.platform.module.icims.contract.initial.service;

import com.peas.platform.framework.mybatisplus.service.BaseService;
import com.peas.platform.module.icims.base.approve.dto.ApproveOrderNodeDto;
import com.peas.platform.module.icims.contract.initial.controller.vo.ContractInitialBorrowVo;
import com.peas.platform.module.icims.contract.initial.dto.ContractInitialBorrowDto;
import com.peas.platform.module.icims.contract.initial.dto.ContractInitialDto;

import java.util.List;

public interface ContractInitialBorrowService extends BaseService<ContractInitialBorrowDto> {

    void borrowContractInitial(ContractInitialDto dto, Long approveId, List<ApproveOrderNodeDto> approveOrderNodes, List<ContractInitialBorrowVo> items);

    void revocationContractInitialBorrow(Long id);

    void returnContractInitialBorrow(Long contractInitialBorrowId);

}
